<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href="/resources/common/css/default/control-manage.css" />
<link rel="stylesheet"
	href="/resources/video/css/manage-extends.css" />
<title>订单管理</title>
<style type="text/css">
.searchButton{
	background:url(/resources/common/images/default/biz/buttonImage.gif) no-repeat;
	background-position:-100px -1px;
	color:#ffffff;
	font-weight:bold;
	line-height:24px; 
	text-align:center; 
	vertical-align:middle; 
	border:none; 
	width:83px;
	height:28px; 
}

table.editflexigrid td, table.editflexigrid th{
	height : 30px;
	border: 1px solid #000;
}
table.editflexigrid td{
	height : 30px;
	align: center;
	font-size: 15px;
	font-weight: normal;
}

</style>
</head>
<body>
	<div class="Mheader">
		<ul>
			<li>销售管理</li>
			<li class="M_sep">&gt;</li>
			<li>订单管理</li>
		</ul>
	</div>
	
	<div id="filterDiv" class="Mul widthauto margin-right20">
		<ul>
			<li>
				<span class="Mspan-span1">
					 <span class="left">订单编号：</span>
					 <span class="right">
						<input type="text" id="order_number" name="order_number"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">套餐ID：</span>
					 <span class="right">
						<input type="text" id="commodityId" name="commodityId"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">用户ID：</span>
					 <span class="right">
						<input type="text" id="userId" name="userId"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">昵称：</span>
					 <span class="right">
						<input type="text" id="flyme_number" name="flyme_number"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">支付：</span>
					 <span class="right">
						<input type="text" id="amount" name="amount"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	购买来源：
					 </span>
					 <span class="right">
					<select id="buySource" name="buySource">
						<option value="-1">全部</option>
						<option value="0">视频</option>
						<option value="1">会员中心</option>
						<option value="2">TV</option>
					</select>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	有效期选择：
					 </span>
					 <span class="right">
						<select id="expiryType" name="expiryType">
							<option value="-1">全部</option>
							<option value="99">生效期</option>
							<option value="7">7天内失效</option>
							<option value="3">3天内失效</option>
							<option value="1">1天内失效</option>
							<option value="0">已失效</option>
						</select>
					 </span>
				</span>
			</li>
			<li>
				<span class="Mspan-span1">
					 <span class="left">
					 	套餐类型：
					 </span>
					 <span class="right">
						<select id="comboType" name="comboType">
						<option value="-1">全部</option>
						<option value="0">视频会员</option>
						<option value="1">魅族会员</option>
					</select>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	订单类型：
					 </span>
					 <span class="right">
						<select id="orderType" name="orderType">
						<option value="-1">全部</option>
						<option value="0">购买</option>
						<option value="1">赠送</option>
					</select>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	版本：
					 </span>
						<span class="right" id="versionSpan">
						</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	设备：
					 </span>
						<span class="right" id="deviceSpan">
						</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	状态：
					 </span>
					 <span class="right" id="payStatusSpan">
					</span>
				</span>
				<span class="Mspan-span1">
					 <span class="left" id="timeTypeSpan">
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	&nbsp;从 <input type="text" id="startTime" name="startTime"/>&nbsp;
					 </span>
					 <span class="right">
					 	&nbsp;到 &nbsp;<input type="text" id="endTime" name="endTime"/>
					 </span>
				</span>
				<span class="Mspan-span1">
					 <span class="left">
					 	<input id="btnSearch" class="Mbutton3" type="button" value="查询" />
					 &nbsp;&nbsp;&nbsp;&nbsp;
					 </span>
					 <span class="right">
					 	<input id="btnExport" class="Mbutton3" type="button" value="导出" />
					 </span>
				</span>
			</li>
		</ul>
	</div>
	<div class="M-listRegion" style="clear:both">
	<table class="editflexigrid" style="width: 650px; border-collapse:collapse;margin-bottom: 20px">
			<tr>
				<td width="10%" align="center">付款用户</td>
				<td width="10%" align="center">付款订单</td>
				<td width="20%" align="center">未付款订单</td>
				<td width="20%" align="center">总结算成本</td>
				<td width="20%" align="center">总销售金额</td>
				<td width="20%" align="center">总收益(元)</td>
			</tr>
			<tr>
				<td width="10%" align="center"><span id="paidUser">0</span></td>
				<td width="10%" align="center"><span id="paidOrder">0</span></td>
				<td width="20%" align="center"><span id="notPayOrder">0</span></td>
				<td width="20%" align="center"><span id="totalCost">0</span></td>
				<td width="20%" align="center"><span id="totalSales">0</span></td>
				<td width="20%" align="center"><span id="totalIncome">0</span></td>
			</tr>
			
		</table>
		<!--  
		<span>注：概括信息只支持【资源版本】及【日期】筛选</span>
		-->
	</div>
	<div class="M-listRegion" style="clear:both">
		<table id="mainList" style="display:none"></table>
	</div>
	
<script type="text/javascript" src="/resources/common/js/MZPub-video.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/util/VideoResources.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/util/VideoUtil.js"></script>
<script type="text/javascript" src="/resources/video/js/manage/sales/order-manage.js"></script>
</body>
</html>